package com.ddf.jpa.boot.repository;

import com.ddf.jpa.boot.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author DDf on 2018/10/4
 */
@Repository
public interface UserRepository extends JpaRepository<User, Integer> {
    User getUserByUsernameAndPassword(String username, String password);
}
